/**
 * 
 */
package org.isaaclabs.mymdb;

/**
 * @author hemanth.sunkara
 *
 */
public enum MovieFields {
    /**
     * Info file fields
     */
	TITLE(0, "Title", true),
	YEAR(1, "Year", true),
	RATED(2, "Rated", true),
	GENRE(3, "Genre", true),
	DIRECTOR(4, "Director", true),
	WRITER(5, "Writer", true),
	ACTORS(6, "Actors", true),
	PLOT(7, "Plot", true),
	RUNTIME(8, "Runtime", true),
	ID(9, "ID", true),
	RATING(10, "Rating", true),
	POSTER(11, "Poster", true),
	URL(12, "IMDB Url", false),
	STORYLINE(13, "Story Line", false);
	
	/**
	 * Position of the field in the fieldValues array 
	 */
	public int position;
	/**
     * Name with which the field is in the json response 
     */
	public String name;
	/**
     * Whether present in the json response  
     */
	public boolean present;
	
	private MovieFields(int position, String name, boolean present) {
		this.position = position;
		this.name = name;
		this.present = present;
	}
	
}
